package com.guigu.tms.commons.entity.aggregation;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zwj
 * @since 2022-09-28
 */
@TableName("pd_area")
public class Area implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 行政id
     */
    private Integer id;

    /**
     * 父级行政
     */
    private Integer parentId;

    /**
     * 行政名称
     */
    private String name;

    private String areaCode;

    private String cityCode;

    private String mergerName;

    private String shortName;

    private String zipCode;

    /**
     * 行政区域等级（0: 省级 1:市级 2:县级 3:镇级 4:乡村级）
     */
    private Integer level;

    private String lng;

    private String lat;

    /**
     * 拼音
     */
    private String pinyin;

    /**
     * 首字母
     */
    private String first;

    private LocalDateTime updateTime;

    private Long updateUser;

    private LocalDateTime createTime;

    private Long createUser;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }
    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }
    public String getMergerName() {
        return mergerName;
    }

    public void setMergerName(String mergerName) {
        this.mergerName = mergerName;
    }
    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }
    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }
    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }
    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }
    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }
    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }
    public String getFirst() {
        return first;
    }

    public void setFirst(String first) {
        this.first = first;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    @Override
    public String toString() {
        return "Area{" +
            "id=" + id +
            ", parentId=" + parentId +
            ", name=" + name +
            ", areaCode=" + areaCode +
            ", cityCode=" + cityCode +
            ", mergerName=" + mergerName +
            ", shortName=" + shortName +
            ", zipCode=" + zipCode +
            ", level=" + level +
            ", lng=" + lng +
            ", lat=" + lat +
            ", pinyin=" + pinyin +
            ", first=" + first +
            ", updateTime=" + updateTime +
            ", updateUser=" + updateUser +
            ", createTime=" + createTime +
            ", createUser=" + createUser +
        "}";
    }
}
